package com.yunxi.model.account;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 帐户组
 * </p>
 *
 * @author 
 * @since 2019-05-17
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_account_group")
@ApiModel(value="AccountGroup对象", description="帐户组")
public class AccountGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账户组id")
    @TableId(value = "ACCOUNT_GROUP_ID", type = IdType.UUID)
    private String accountGroupId;

    @ApiModelProperty(value = "账户组code")
    @TableField("ACCOUNT_GROUP_CODE")
    private String accountGroupCode;

    @ApiModelProperty(value = "账户组名称")
    @TableField("ACCOUNT_GROUP_NAME")
    private String accountGroupName;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

}
